#include "mycustomscene.h"

MyCustomScene::MyCustomScene(QObject *parent) : QGraphicsScene(parent){}

MyCustomScene::~MyCustomScene(){}

void MyCustomScene::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
{
    emit signalMouseClickPos(event->scenePos());
    QGraphicsScene::mouseReleaseEvent(event);
}

void MyCustomScene::mouseMoveEvent(QGraphicsSceneMouseEvent *event)
{
    emit signalMouseMovePos(event->scenePos());
    QGraphicsScene::mouseMoveEvent(event);
}
